# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=upnp-pentest-toolkit
pkgver=1.1
pkgrel=4
pkgdesc='UPnP Pentest Toolkit for Windows.'
url='https://github.com/nccgroup/UPnP-Pentest-Toolkit'
groups=('blackarch' 'blackarch-windows' 'blackarch-scanner' 'blackarch-recon'
        'blackarch-fuzzer')
license=('AGPL')
arch=('any')
source=("https://github.com/nccgroup/UPnP-Pentest-Toolkit/raw/master/WinUPnPFun/bin/Release/UPT_$pkgver.zip")
sha512sums=('9ace3a24f855689785362abed137a438ff98de98a905a0393a5f4d178ef7310cd5dca76ed548c39e49d3be1dd4e052c633e9eb23150561aa1d646c8fdb84463b')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  rm "UPT_$pkgver.zip"

  cp -a * "$pkgdir/usr/share/windows/$pkgname"
}

